package com.kzw.service;

import com.kzw.dao.RecordDao;
import com.kzw.entity.Record;

import my.db.Page;

public class RecordService {
	private RecordDao dao = new RecordDao();
	
	public Page<Record> list(Page<Record> page, String uname) {
		return dao.findPage(page, uname);
	}
	
	public void delete(long rid) {
		dao.delete(rid);		
	}
	public void save(Record record) {
		dao.save(record);
	}

}
